<!doctype html>
<html lang="zh-CN" ng-app="UserInfoModule">
<head>
    <meta charset="UTF-8">
    <title>Angular 2.5.1</title>
    <link rel="stylesheet" href="src/css/bootstrap.min.css"/>
    <script src="src/js/lib/angular.js"></script>
    <script src="src/js/2_5_1.js"></script>
</head>
<body>
<div class="panel panel-primary">
    <div class="panel-heading">
        <div class="panel-title">
            我的股票疯狂涨
        </div>
    </div>
    <div class="panel-body">
        乐普医疗-立思辰
        <div class="row">
            <div class="col-md-12">
                <form class="form-horizontal" role="form" ng-controller="UserInfoCtrl">
                    <div class="form-group">
                        <label class="col-md-2 control-label">
                            邮箱：
                        </label>

                        <div class="col-md-10">
                            <input ng-model="userInfo.email" class="form-control" type="email" placeholder="推荐使用126邮箱"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="">密码：</label>

                        <div class="col-md-10">
                            <input ng-model="userInfo.password" class="form-control" type="password"
                                   placeholder="只能是数字、字母、下划线"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-offset-2 col-md-10">
                            <div class="checkbox">
                                <label>
                                    <input ng-model="userInfo.autoLogin" type="checkbox"/>
                                    自动登录
                                </label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-offset-2 col-md-10">
                            <button class="btn btn-default" ng-click="getFormData()">获取FORMdata</button>
                            <button class="btn btn-default" ng-click="setFormData()">设置FORM</button>
                            <button class="btn btn-default" ng-click="resetForm()">重置FORM</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>